package jfae.core.configuration.contributions;

public class DuplicateContributionException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	private String duplicatedId;
	private Object duplicatedObject;
	
	public DuplicateContributionException(String duplicatedId,
			Object duplicatedObject) {
		super("Duplicate obejct " + duplicatedId);
		this.duplicatedId = duplicatedId;
		this.duplicatedObject = duplicatedObject;
	}
	
	public String getDuplicatedId() {
		return duplicatedId;
	}
	public Object getDuplicatedObject() {
		return duplicatedObject;
	}
	
}
